/* KidsMind 管理后台样式 */

/* 全局样式 */
body {
    background-color: #f8f9fa;
    color: #333;
}

/* 导航栏样式 */
.navbar-brand {
    font-weight: bold;
}

.nav-link {
    font-size: 0.95rem;
}

.navbar-dark .navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

/* 卡片样式 */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    font-weight: bold;
}

/* 控制台卡片 */
.dashboard-card {
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.2s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.dashboard-card .count {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.dashboard-card .title {
    font-size: 1rem;
    color: #6c757d;
}

/* 表格样式 */
.table thead th {
    background-color: #f8f9fa;
    border-top: none;
}

.table-action {
    width: 1%;
    white-space: nowrap;
}

/* 表单样式 */
.form-label {
    font-weight: 500;
}

.required::after {
    content: '*';
    color: #dc3545;
    margin-left: 0.25rem;
}

/* 图标 */
.status-icon {
    font-size: 1.25rem;
}

.status-active {
    color: #198754;
}

.status-inactive {
    color: #dc3545;
}

/* 分页 */
.pagination {
    margin-bottom: 0;
}

/* 登录页面 */
.login-container {
    max-width: 400px;
    margin: 5rem auto;
}

.login-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo h1 {
    font-weight: bold;
    color: #0d6efd;
}

.login-form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* 统计数据页面 */
.stats-chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 2rem;
}

/* 响应式调整 */
@media (max-width: 767.98px) {
    .dashboard-card {
        margin-bottom: 1rem;
    }
    
    .table-responsive {
        border: none;
    }
} 